﻿<%@ page language="C#" masterpagefile="Customer.master" autoeventwireup="true" inherits="Third_ChannelMember_Mailbox, App_Web_k3ad5rad" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderChannelMember" Runat="Server">
    <p class="littlep"><asp:Image ID="Image1" runat="server" ImageUrl="~/images/LittleTitleImage/Mail.gif" />来自站长的信件</p>
<form runat="server">
<div>
    
    <asp:DataList ID="DataList1" runat="server" DataKeyField="m_id" 
        ondeletecommand="DataList1_DeleteCommand" Width="600px">

            <HeaderTemplate>
            <span class="titleTable">标题</span></td>
            <td style=" width:150px;"><span class="titleTable">日期</span></td>
            <td style=" width:50px;"><span class="titleTable">操作</span>
        </HeaderTemplate>
        <ItemTemplate>
                    <asp:HiddenField ID="key" Value='<%# Eval("m_id") %>' runat="server"/>
                    <asp:HyperLink ID="content" NavigateUrl='<%#"~/Customer/MailboxDetails.aspx?id="+ Eval("m_id") %>' Text='<%# Eval("m_title") %>' runat="server"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("m_time") %>'></asp:Label>
                    </td>
                    <td><asp:LinkButton ID="delete" CommandName="delete" Text="删除" OnClientClick="javascript:confirm('确定要删除吗？');" runat="server"></asp:LinkButton>
        </ItemTemplate>
    </asp:DataList>

    <div style=" text-indent:4em;">
                            当前：第
                <asp:Label ID="lblCurrentPage" runat="server" Text="1"></asp:Label>页
                <asp:LinkButton ID="lblFirstPage" runat="server" Text="首页" OnClick="lblFirstPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblFrontPage" runat="server" Text="上一页" OnClick="lblFrontPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblNextPage" runat="server" Text="下一页" OnClick="lblNextPage_Click"></asp:LinkButton>
                <asp:LinkButton ID="lblLastPage" runat="server" Text="末页" OnClick="lblLastPage_Click"></asp:LinkButton>
                总共<asp:Label ID="lblTotalPage" runat="server" ></asp:Label>页

                </div>
</div>
</form>
</asp:Content>

